<template>
	<h1>App..</h1>
	<!-- 
    v-model在组件上的用法发生变化
      之前 value -> modelValue
      之前 input -> update:modelValue
  -->
	<!-- <Child v-model="num" /> -->
	<Child v-model:num="num" v-model:a="a" />
</template>

<script>
import Child from "./Child.vue";

export default {
	name: "App",
	data() {
		return {
			num: 0,
			a: 1,
		};
	},
	components: {
		Child,
	},
};
</script>
